/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.eplat.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

/**
 *
 * @author ylei
 */
public class UserRegisterController extends AbstractController {

    @Override
    protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {
        //throw new UnsupportedOperationException("Not supported yet.");
        ModelAndView mav = new ModelAndView("hello");
        mav.addObject("message", "Hello World");
        
        return mav;
    }
}
